package org.jeecg.modules.wx.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.constant.enums.MainErrorEnum;
import org.jeecg.common.system.api.ISysBaseAPI;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.common.util.PasswordUtil;
import org.jeecg.modules.custom.entity.MtCustorm;
import org.jeecg.modules.custom.service.IMtCustormService;
import org.jeecg.modules.engineer.entity.MtEngineer;
import org.jeecg.modules.engineer.service.IMtEngineerService;
import org.jeecg.modules.providers.entity.MtServiceProviders;
import org.jeecg.modules.providers.service.IMtServiceProvidersService;
import org.jeecg.modules.system.entity.SysRole;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.system.service.ISysUserService;
import org.jeecg.modules.wx.entity.MtUnionWx;
import org.jeecg.modules.wx.entity.WxLogin;
import org.jeecg.modules.wx.service.IMtUnionWxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Objects;

/**
 * @Author cheng
 * @Date 2022-09-13
 */
@RequestMapping("/wx")
@RestController
@Slf4j
public class MtUnionWxController {
    @PostMapping("/bindWeChat")
    public Result<String> bindWx(@RequestBody WxLogin wxLogin) {
        return Result.OK("绑定成功!");
    }
}
